<?php

namespace App\Http\Requests\Api;

class OptSecondRequest extends ApiRequest
{
    public function rules()
    {
        return [
            'sign'=>'required',
            'pid'=>'required|integer',
        ];
    }

    public function attributes()
    {
        return [
            'sign'=>'标识',
            'pid'=>'父级id',
        ];
    }
}
